package com.xii.servicebase.exceptionhandler;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @description: 自定义异常状态码和返回信息
 *
 * @author  wangxihao
 * @email wangxh0108@163.com
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class XiiException extends RuntimeException {
    private Integer code; //状态码
    private String msg; //异常信息

}
